package com.briup.jd2407cms.config;

import com.google.gson.Gson;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @BelongsProject: JD2407-cms
 * @BelongsPackage: com.briup.jd2407cms.config
 * @Author: 鲨鲨天下第一
 * @CreateTime: 2024-11-23  18:05
 * @Description: TODO
 * @Version: 1.0
 */
@Configuration
public class GsonConfig {
    @Bean
    @ConditionalOnMissingBean
    public Gson gson() {
        return new Gson();
    }
}
